<template>
	<view class="container">
		<web-view :src="src"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				src: ''
			}
		},
		onLoad(e) {
			//#ifdef APP-PLUS
			this.src = e.url
			//#endif

			//#ifdef MP-WEIXIN
			this.$scope.setData({
				src: decodeURIComponent(e.url),
			})
			//#endif
		},
		onShow() {
		},

		methods: {
			// 刷脸完成后重新加载实名页面
			reloadPage(redirectUrl) {
				debugger
				var _this = this
				_this.$scope.setData({
					src: redirectUrl,
				})
			},

		}
	}
</script>

<style lang="scss">
</style>
